cmake_minimum_required(VERSION 3.10)
project(A)

add_library(A SHARED A.cpp A.h)
target_compile_definitions(A PRIVATE A_EXPORTS)